POV-Ray : Newsgroups : povray.beta-test : disappearing objects with orthographic : disappearing objects with orthographic Server Time
29 Jul 2024 22:33:26 EDT (-0400)
  disappearing objects with orthographic  
From: Tom Melly
Date: 25 Feb 2002 08:47:12
Message: <3c7a4060@news.povray.org>
I'm fairly sure that this has been reported before, but I can't see it mentioned
in the most recent known bugs list. The red box specified last in the following
code will disappear unless either Top_BC or Bottom_BC (or both) is/are commented
out of the final union.

The problem disappears with -UV

#version 3.5;

#local Cam_Dist = 5;
camera {
  orthographic
  location 0
  right x*Cam_Dist * 4/3
  up y*Cam_Dist
  look_at<0,0,1>
}

#declare TopBack_BC =
difference{
  sphere{0,1 scale <2,0.5,1.5>}
  plane{x,0}
}

#declare Top_BC =
difference{
  object{TopBack_BC}
  plane{y,0}
}

#declare Bottom_BC =
difference{
  object{TopBack_BC scale<1,0.5,1>}
  plane{-y,0}
}

union{
  object{Top_BC} // comment either this or next out to get red box (below)
  object{Bottom_BC}
  pigment{rgb 1}
  finish{ambient 1}
  translate z*4
}

box{0,<1.5,0.25,1.5> translate<0,-0.5,-0.75> pigment{rgb<1,0,0>} finish{ambient
1}}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.